package mode.visistor20;

public class ConcreteVisitor1 implements Visitor{

    @Override
    public void visitConcreteElementA(Element concreteElementA) {
        System.out.println("ConcreteVisitor1访问concreteElementA");
    }

    @Override
    public void visitConcreteElementB(Element concreteElementB) {
        System.out.println("ConcreteVisitor1访问concreteElementB");
    }

}
